
<%@ page import="activity.Manual" %>
<!DOCTYPE html>
<html>
	<head>
            <meta name="layout" content="backend">
		<g:set var="entityName" value="${message(code: 'manual.label', default: 'Manual')}" />
		<title><g:message code="default.show.label" args="[entityName]" /></title>
	</head>
	<body>
		<div class="gnav" role="navigation">
			<ul>
				<li><g:link class="list" action="list"><g:message code="default.list.label" args="[entityName]" /></g:link></li>
				<li><g:link class="create" action="create"><g:message code="default.new.label" args="[entityName]" /></g:link></li>
			</ul>
		</div>
		<div id="show-manual" class="content scaffold-show" role="main">
			<h1><g:message code="default.show.label" args="[entityName]" /></h1>
			<g:if test="${flash.message}">
			<div class="message" role="status">${flash.message}</div>
			</g:if>
			<ol class="property-list manual">
			
				<g:if test="${manualInstance?.name}">
				<li class="fieldcontain">
					<span id="name-label" class="property-label"><g:message code="manual.name.label" default="Name" /></span>
					
						<span class="property-value" aria-labelledby="name-label"><g:fieldValue bean="${manualInstance}" field="name"/></span>
					
				</li>
				</g:if>
			
				<g:if test="${manualInstance?.active}">
				<li class="fieldcontain">
					<span id="active-label" class="property-label"><g:message code="manual.active.label" default="Active" /></span>
					
						<span class="property-value" aria-labelledby="active-label"><g:fieldValue bean="${manualInstance}" field="active"/></span>
					
				</li>
				</g:if>
			
				<g:if test="${manualInstance?.event}">
				<li class="fieldcontain">
					<span id="event-label" class="property-label"><g:message code="manual.event.label" default="Event" /></span>
					
						<span class="property-value" aria-labelledby="event-label"><g:link controller="event" action="show" id="${manualInstance?.event?.id}">${manualInstance?.event?.encodeAsHTML()}</g:link></span>
					
				</li>
				</g:if>
			
				<g:if test="${manualInstance?.subject}">
				<li class="fieldcontain">
					<span id="subject-label" class="property-label"><g:message code="manual.subject.label" default="Subject" /></span>
					
						<span class="property-value" aria-labelledby="subject-label"><g:fieldValue bean="${manualInstance}" field="subject"/></span>
					
				</li>
				</g:if>
			
				<g:if test="${manualInstance?.content}">
				<li class="fieldcontain">
					<span id="content-label" class="property-label"><g:message code="manual.content.label" default="Content" /></span>
					
						<span class="property-value" aria-labelledby="content-label"><g:fieldValue bean="${manualInstance}" field="content"/></span>
					
				</li>
				</g:if>
			
				<g:if test="${manualInstance?.recipient}">
				<li class="fieldcontain">
					<span id="recipient-label" class="property-label"><g:message code="manual.recipient.label" default="Recipient" /></span>
					
						<span class="property-value" aria-labelledby="recipient-label"><g:fieldValue bean="${manualInstance}" field="recipient"/></span>
					
				</li>
				</g:if>
			
				<g:if test="${manualInstance?.schedule}">
				<li class="fieldcontain">
					<span id="schedule-label" class="property-label"><g:message code="manual.schedule.label" default="Schedule" /></span>
					
						<span class="property-value" aria-labelledby="schedule-label"><g:formatDate date="${manualInstance?.schedule}" /></span>
					
				</li>
				</g:if>
			
				<g:if test="${manualInstance?.done}">
				<li class="fieldcontain">
					<span id="done-label" class="property-label"><g:message code="manual.done.label" default="Done" /></span>
					
						<span class="property-value" aria-labelledby="done-label"><g:fieldValue bean="${manualInstance}" field="done"/></span>
					
				</li>
				</g:if>
			
			</ol>
			<g:form>
				<fieldset class="buttons">
					<g:hiddenField name="id" value="${manualInstance?.id}" />
					<g:link class="edit" action="edit" id="${manualInstance?.id}"><g:message code="default.button.edit.label" default="Edit" /></g:link>
					<g:actionSubmit class="delete" action="delete" value="${message(code: 'default.button.delete.label', default: 'Delete')}" onclick="return confirm('${message(code: 'default.button.delete.confirm.message', default: 'Are you sure?')}');" />
				</fieldset>
			</g:form>
		</div>
	</body>
</html>
